import request from '@/utils/request'
// 获取公司列表
export const frimList = () => {
  return request({ url: '/company' })
}

// 获取公司详情
export const frimDetails = (id) => {
  return request({
    url: `/company/${id}`,
  })
}
// 关注功能
export const alterAttention = (data) => {
  return request({
    method: 'PUT',
    url: `/company/${data.id}`,
    data,
  })
}
